home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / getline.6 < prev    next >
Text File  |  1996-07-16  |  662b  |  23 lines

  1. .TH GETLINE
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. GETLINE
  5.  
  6.  
  7.  
  8.  AnyType GETLINE( NumericType RequestedType )
  9.  
  10. Provides a method to get input from keyboard within functions and
  11. or subroutines. RequestedType can be one of NUMERIC_TYPE,
  12. POINT_TYPE, VECTOR_TYPE, or PLANE_TYPE in which the entered line
  13. will be parsed into one, three, or four numeric values (sperated by
  14. either spaces or commas) and the proper object will be created and
  15. returned. In any other case, including failure to parse the numeric
  16. input, a STRING_TYPE object will be constructed from the entered line.
  17.  
  18. Example:
  19.  
  20.     Pt = GETLINE( point_type );
  21.  
  22. to read one point (three numeric values) from stdin.
  23.